package com.ycz.sportplay.service.impl;

import com.ycz.sportplay.bean.MainMenu;
import com.ycz.sportplay.dao.MenuDao;
import com.ycz.sportplay.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description
 * @ClassName MenuServiceImpl
 * @Author yanchengzhi
 * @date 2022.06.16 01:05
 */
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private MenuDao menuDao;

    @Override
    public List<MainMenu> getMenus() {
        return menuDao.getMenus();
    }
}
